package DuoJiCheng_animal;

public class DuckMain implements CanFly, CanSwim {
	public void fly() {
		System.out.println("duck can't fly");
	}
	public void swim() {
		System.out.println("but duck can swim");
	}
	
public static void main(String arg[]) {
		DuckMain duck= new DuckMain();
		duck.fly();
		duck.swim();
	}
	
}


